/*
   UID.java
   (C) 2007 - Michael Ocean - Boston University

  This work is a part of the larger snBench project.  Information
  can be found at: http://csr.bu.edu/snbench

  This program is free software; you can redistribute it and/or
  modify it under the terms of Version 2 of the GNU General Public 
  License.
  
  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  General Public License for more details.
  
  You should have received a copy of the GNU Library General Public
  License along with this library; if not, write to the Free
  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
package snbenchlib;

/**
 *
 * UID
 * snbenchlib / UID.java
 * 
 * The UID wraps String and exists to provide better type checking
 * and more reasable code
 * 
 *  @author Michael
 */
public class UID {

	String value = null;
	
	public UID(String val){
		value = val;
	}
	
	public String get(){ return value; }
	
	@Override
	public boolean equals(Object obj) {
		if(!(obj instanceof UID))
			return false;
		return value.equals(((UID)obj).value);
	}
}
